﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SelectPayment.aspx.cs" Inherits="FYPHP.SelectPayment" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            text-decoration: underline;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LeftContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <span class="style1"><strong>Select Payment Method</strong></span><br />
    </p>
    <asp:RadioButtonList ID="rblBankingMethod" runat="server" 
        RepeatDirection="Horizontal" 
        onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">
        <asp:ListItem Selected="True" Value="Paypal">Paypal</asp:ListItem>
        <asp:ListItem Value="Banking">Banking</asp:ListItem>
    </asp:RadioButtonList>
    <asp:Panel ID="Panel1" runat="server">
        <asp:TextBox ID="txtRemarks" runat="server" Height="130px" TextMode="MultiLine" 
            Width="400px"></asp:TextBox>
        <br />
        <asp:Button ID="btnConfirm" runat="server" Text="Comfirm" 
            onclick="btnConfirm_Click" />
    </asp:Panel>


    <asp:Panel ID="Panel2" runat="server">
</form>

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">

   <input type="hidden" name="return" value="http://localhost:34874/SuccessTransaction.aspx"/>
   <input type="hidden" name="cancel_return" value="http://localhost:34874/CancelTransaction.aspx"/>

    <input type="hidden" name="cmd" value="_xclick" />
  
   
    <asp:Label ID="Label4" runat="server"></asp:Label>
    
    <input type="submit" value="Proceed To Payment" />
</form>
    </asp:Panel>

</asp:Content>
